package org.dawning.shop.common.commands.inventory;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.axonframework.commandhandling.TargetAggregateIdentifier;
import org.dawning.shop.common.domain.order.OrderId;

/**
 * Created by miou on 2017/6/15 0015.
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ReserveInventoryCommand {

    @TargetAggregateIdentifier
    private OrderId orderId;
    private String inventoryId;
    private Long quantity;
}
